package com.link.base.base.language.service;

import com.link.base.base.language.dao.mybatis.mapper.LangModulesMapper;
import com.link.base.base.language.model.LangModules;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 语言包模块
 *
 * @author 阳晓琳
 * @date 2020-08-27 10:59:45
 */
@Service
public class LangModulesServiceImpl extends BasicServiceImpl<LangModules> implements LangModulesService {

    @Resource
    private LangModulesMapper langModulesMapper;

    @Override
    public BasicMapper<LangModules> getBasicMapper() {
        return langModulesMapper;
    }

    @Override
    public void deleteByIdCascade(LangModules entity) {
        langModulesMapper.deleteByIdCascade(entity);
    }
}
